package com.runtime.hongyunmanage.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Users {

  @TableId
  private Long userId;
  private String username;
  private String passwordHash;
  private String fullName;
  private String contactPhone;
  private String companyName;
  private String createdAt;
  private Long isActive;
  private String lastLoginTime;
  private long failedLoginAttempts;
  @TableLogic(value = "0", delval = "1")
  private long userDelFlag;

}
